package cn.edu.scau.cmi.ema.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;

public interface FiletypeDAO extends JpaDao<Filetype> {

	public Filetype findFiletypeById(Integer id) throws DataAccessException;

	public Filetype findFiletypeById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Filetype> findFiletypeByName(String name) throws DataAccessException;

	public Set<Filetype> findFiletypeByName(String name, int startResult, int maxRows) throws DataAccessException;

	public Set<Filetype> findFiletypeByNameContaining(String name_1) throws DataAccessException;

	public Set<Filetype> findFiletypeByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Filetype> findFiletypeByDescription(String description) throws DataAccessException;

	public Set<Filetype> findFiletypeByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Filetype> findFiletypeByDescriptionContaining(String description_1) throws DataAccessException;

	public Set<Filetype> findFiletypeByDescriptionContaining(String description_1, int startResult, int maxRows)
			throws DataAccessException;

	public Filetype findFiletypeByPrimaryKey(Integer id) throws DataAccessException;

	public Filetype findFiletypeByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Filetype> findFiletypesByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Filetype> findAllFiletypes() throws DataAccessException;

	public Set<Filetype> findAllFiletypes(int startResult, int maxRows) throws DataAccessException;

	public Set<Filetype> findFiletypeByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Filetype> findFiletypesByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Filetype findFiletypeByPhysicalPrimaryKey(String name) throws DataAccessException;

	public Filetype findFiletypeByPhysicalPrimaryKey(String name, int startResult, int maxRows)
			throws DataAccessException;
}
